<%@ page contentType="text/html; charset=UTF-8" %> 
<%@page import="net.zhnb.util.*"%>
<%@ page import="net.zhnb.bean.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<jsp:include page="adminImport.jsp"/>
</head>
<% Room room =  (Room) request.getAttribute("room"); %>

<script>
	function checkForm(){
		if($("#roomname").val()==''){
			alert("请输入场馆名称!");
			return false;
		}
	}
</script>

<body>

<a href="<%=Constants.URL %>/admin/roomManage">返回</a><br/><br/>

<form action="<%=Constants.URL %>/admin/roomModi" method="post" onsubmit="return checkForm()">
	<input type="hidden" name="id" id="id" value="<%=room.getId()%>"/>
	场馆名称<font color="red">*</font>:<input type="input" name="roomname" id="roomname" value="<%=room.getRoomname()%>"/><br/>
	场馆地址:<input type="input" name="roomaddress" id="roomaddress" value="<%=room.getRoomaddress()%>"/><br/>
	场馆电话:<input type="input" name="roomtel" id="roomtel" value="<%=room.getRoomtel()%>"/><br/>
	<input type="submit" value="修改"/>
</form>

</body>
</html>